package com.capgemini.scaffold.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.capgemini.scaffold.dto.LoginFromDTO;
import com.capgemini.scaffold.dto.UserDTO;
import com.capgemini.scaffold.entity.User;
/**
 * @author ShuHao.Wen
 * @since 2022/10/21
 */
public interface UserService extends IService<User> {


    LoginFromDTO login(UserDTO userDTO);

    UserDTO signIn(UserDTO userDTO);

    LoginFromDTO queryUserById(Integer id);

    User updateUserById(UserDTO userDTO);

    void removeCache();
}
